package voice

import "os/exec"

//Linux 需要安装 sox(play) aplay一般为系统自带
func openPlayFile(fileName string, asyn bool) {
	//cmd := exec.Command("play", fileName)
	cmd := exec.Command("aplay", fileName)
	if asyn {
		cmd.Start()
	} else {
		cmd.Run()
	}
}
